<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0,viewport-fit=cover"><title>Docker | 静待花开</title><meta name="author" content="brad 随风起舞"><meta name="copyright" content="brad 随风起舞"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta name="description" content="dockerwindows10下的安装 启用 Hyper-V  安装 Docker安装windows桌面docker点击这里下载   至此docker可用了.点击桌面图标启动docker服务,可以在power shell上用docker version命令检查. docker 概念Docker是一个非常强大但非常简单的应用程序平台。您可以在短短几天内开始在Docker中运行现有应用程序，然后再过几">
<meta property="og:type" content="article">
<meta property="og:title" content="Docker">
<meta property="og:url" content="https://zhangbo4881820.gitee.io/myblog/posts/40991/index.html">
<meta property="og:site_name" content="静待花开">
<meta property="og:description" content="dockerwindows10下的安装 启用 Hyper-V  安装 Docker安装windows桌面docker点击这里下载   至此docker可用了.点击桌面图标启动docker服务,可以在power shell上用docker version命令检查. docker 概念Docker是一个非常强大但非常简单的应用程序平台。您可以在短短几天内开始在Docker中运行现有应用程序，然后再过几">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://i.loli.net/2021/02/24/5O1day2nriDzjSu.png">
<meta property="article:published_time" content="2019-12-02T06:48:35.000Z">
<meta property="article:modified_time" content="2023-09-07T09:44:01.902Z">
<meta property="article:author" content="brad 随风起舞">
<meta property="article:tag" content="Docker">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://i.loli.net/2021/02/24/5O1day2nriDzjSu.png"><link rel="shortcut icon" href="/myblog/img/favicon.png"><link rel="canonical" href="https://zhangbo4881820.gitee.io/myblog/posts/40991/index.html"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/myblog/css/index.css"><link rel="stylesheet" href="/myblog/css/all.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="/myblog/css/fancybox.css" media="print" onload="this.media='all'"><script>const GLOBAL_CONFIG = {
  root: '/myblog/',
  algolia: undefined,
  localSearch: {"path":"/myblog/search.xml","preload":false,"top_n_per_article":1,"unescape":false,"languages":{"hits_empty":"找不到您查询的内容：${query}","hits_stats":"共找到 ${hits} 篇文章"}},
  translate: undefined,
  noticeOutdate: undefined,
  highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false},
  copy: {
    success: '复制成功',
    error: '复制错误',
    noSupport: '浏览器不支持'
  },
  relativeDate: {
    homepage: false,
    post: false
  },
  runtime: '',
  dateSuffix: {
    just: '刚刚',
    min: '分钟前',
    hour: '小时前',
    day: '天前',
    month: '个月前'
  },
  copyright: undefined,
  lightbox: 'fancybox',
  Snackbar: undefined,
  source: {
    justifiedGallery: {
      js: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery/dist/fjGallery.min.js',
      css: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery/dist/fjGallery.min.css'
    }
  },
  isPhotoFigcaption: false,
  islazyload: false,
  isAnchor: false,
  percent: {
    toc: true,
    rightside: false,
  },
  autoDarkmode: false
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
  title: 'Docker',
  isPost: true,
  isHome: false,
  isHighlightShrink: true,
  isToc: true,
  postUpdate: '2023-09-07 17:44:01'
}</script><noscript><style type="text/css">
  #nav {
    opacity: 1
  }
  .justified-gallery img {
    opacity: 1
  }

  #recent-posts time,
  #post-meta time {
    display: inline !important
  }
</style></noscript><script>(win=>{
    win.saveToLocal = {
      set: function setWithExpiry(key, value, ttl) {
        if (ttl === 0) return
        const now = new Date()
        const expiryDay = ttl * 86400000
        const item = {
          value: value,
          expiry: now.getTime() + expiryDay,
        }
        localStorage.setItem(key, JSON.stringify(item))
      },

      get: function getWithExpiry(key) {
        const itemStr = localStorage.getItem(key)

        if (!itemStr) {
          return undefined
        }
        const item = JSON.parse(itemStr)
        const now = new Date()

        if (now.getTime() > item.expiry) {
          localStorage.removeItem(key)
          return undefined
        }
        return item.value
      }
    }
  
    win.getScript = url => new Promise((resolve, reject) => {
      const script = document.createElement('script')
      script.src = url
      script.async = true
      script.onerror = reject
      script.onload = script.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        script.onload = script.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(script)
    })
  
    win.getCSS = (url,id = false) => new Promise((resolve, reject) => {
      const link = document.createElement('link')
      link.rel = 'stylesheet'
      link.href = url
      if (id) link.id = id
      link.onerror = reject
      link.onload = link.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        link.onload = link.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(link)
    })
  
      win.activateDarkMode = function () {
        document.documentElement.setAttribute('data-theme', 'dark')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
        }
      }
      win.activateLightMode = function () {
        document.documentElement.setAttribute('data-theme', 'light')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
        }
      }
      const t = saveToLocal.get('theme')
    
          if (t === 'dark') activateDarkMode()
          else if (t === 'light') activateLightMode()
        
      const asideStatus = saveToLocal.get('aside-status')
      if (asideStatus !== undefined) {
        if (asideStatus === 'hide') {
          document.documentElement.classList.add('hide-aside')
        } else {
          document.documentElement.classList.remove('hide-aside')
        }
      }
    
    const detectApple = () => {
      if(/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
        document.documentElement.classList.add('apple')
      }
    }
    detectApple()
    })(window)</script><meta name="generator" content="Hexo 7.0.0-rc2"><link rel="alternate" href="/myblog/atom.xml" title="静待花开" type="application/atom+xml">
</head><body><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src="https://i.loli.net/2021/02/24/5O1day2nriDzjSu.png" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="sidebar-site-data site-data is-center"><a href="/myblog/archives/"><div class="headline">文章</div><div class="length-num">57</div></a><a href="/myblog/tags/"><div class="headline">标签</div><div class="length-num">20</div></a><a href="/myblog/categories/"><div class="headline">分类</div><div class="length-num">25</div></a></div><hr class="custom-hr"/><div class="menus_items"><div class="menus_item"><a class="site-page" href="/myblog/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/myblog/archives/"><i class="fa-fw fas fa-archive"></i><span> 时间轴</span></a></div><div class="menus_item"><a class="site-page" href="/myblog/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/myblog/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw fas fa-list"></i><span> 分享</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/myblog/Gallery/"><i class="fa-fw fas fa-images"></i><span> 照片</span></a></li><li><a class="site-page child" href="/myblog/music/"><i class="fa-fw fas fa-music"></i><span> 音乐</span></a></li><li><a class="site-page child" href="/myblog/movies/"><i class="fa-fw fas fa-video"></i><span> 视频</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="/myblog/link/"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page" href="/myblog/about/"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></div></div></div></div><div class="post" id="body-wrap"><header class="not-top-img" id="page-header"><nav id="nav"><span id="blog-info"><a href="/myblog/" title="静待花开"><span class="site-name">静待花开</span></a></span><div id="menus"><div id="search-button"><a class="site-page social-icon search" href="javascript:void(0);"><i class="fas fa-search fa-fw"></i><span> 搜索</span></a></div><div class="menus_items"><div class="menus_item"><a class="site-page" href="/myblog/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/myblog/archives/"><i class="fa-fw fas fa-archive"></i><span> 时间轴</span></a></div><div class="menus_item"><a class="site-page" href="/myblog/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/myblog/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw fas fa-list"></i><span> 分享</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/myblog/Gallery/"><i class="fa-fw fas fa-images"></i><span> 照片</span></a></li><li><a class="site-page child" href="/myblog/music/"><i class="fa-fw fas fa-music"></i><span> 音乐</span></a></li><li><a class="site-page child" href="/myblog/movies/"><i class="fa-fw fas fa-video"></i><span> 视频</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="/myblog/link/"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page" href="/myblog/about/"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></div></div><div id="toggle-menu"><a class="site-page" href="javascript:void(0);"><i class="fas fa-bars fa-fw"></i></a></div></div></nav></header><main class="layout" id="content-inner"><div id="post"><div id="post-info"><h1 class="post-title">Docker</h1><div id="post-meta"><div class="meta-firstline"><span class="post-meta-date"><i class="far fa-calendar-alt fa-fw post-meta-icon"></i><span class="post-meta-label">发表于</span><time class="post-meta-date-created" datetime="2019-12-02T06:48:35.000Z" title="发表于 2019-12-02 14:48:35">2019-12-02</time><span class="post-meta-separator">|</span><i class="fas fa-history fa-fw post-meta-icon"></i><span class="post-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2023-09-07T09:44:01.902Z" title="更新于 2023-09-07 17:44:01">2023-09-07</time></span><span class="post-meta-categories"><span class="post-meta-separator">|</span><i class="fas fa-inbox fa-fw post-meta-icon"></i><a class="post-meta-categories" href="/myblog/categories/Docker/">Docker</a></span></div><div class="meta-secondline"><span class="post-meta-separator">|</span><span class="post-meta-pv-cv" id="" data-flag-title="Docker"><i class="far fa-eye fa-fw post-meta-icon"></i><span class="post-meta-label">阅读量:</span><span id="busuanzi_value_page_pv"><i class="fa-solid fa-spinner fa-spin"></i></span></span></div></div></div><article class="post-content" id="article-container"><h1 id="docker"><a href="#docker" class="headerlink" title="docker"></a>docker</h1><h2 id="windows10下的安装"><a href="#windows10下的安装" class="headerlink" title="windows10下的安装"></a>windows10下的安装</h2><ol>
<li><p>启用 Hyper-V<br><img src="/myblog/image/Hyper-v.png"></p>
</li>
<li><p>安装 Docker<br>安装windows桌面docker点击<a href="https://hub.docker.com/editions/community/docker-ce-desktop-windows">这里下载</a></p>
</li>
</ol>
<p>至此docker可用了.点击桌面图标启动docker服务,可以在power shell上用<code>docker version</code>命令检查.</p>
<h2 id="docker-概念"><a href="#docker-概念" class="headerlink" title="docker 概念"></a>docker 概念</h2><p>Docker是一个非常强大但非常简单的应用程序平台。您可以在短短几天内开始在Docker中运行现有应用程序，然后再过几天就可以投入生产。首先，您需要了解Docker的核心概念：图像，注册表，容器和集群，并了解Docker的实际运行方式</p>
<h3 id="Docker-images-docker镜像"><a href="#Docker-images-docker镜像" class="headerlink" title="Docker images(docker镜像)"></a>Docker images(docker镜像)</h3><p>Docker镜像是一个完整的应用程序包。它包含一个应用程序及其所有依赖项，运行语言，应用程序主机和基础操作系统。从逻辑上讲，该镜像是单个文件，并且是可移植单元，您可以通过将镜像推送到Docker注册表来共享您的应用程序。有权访问的任何人都可以自己拉该镜像，并在容器中运行您的应用程序。它对他们的行为与对您的行为完全相同。</p>
<p>您可以通过名为Dockerfile的简单脚本描述所有这些步骤，并且可以针对需要执行的每个步骤使用PowerShell或批处理文件。</p>
<p>您可以通过运行<code>docker image build</code>来构建镜像,输入是Dockerfile和需要打包到镜像中的所有资源（例如Web应用程序内容）。<br>输出是Docker映像。Docker镜像就像一个应用程序版本的文件系统快照。该图像是静态的，您可以使用注册表进行分发。</p>
<h3 id="镜像注册"><a href="#镜像注册" class="headerlink" title="镜像注册"></a>镜像注册</h3><p>注册表是Docker镜像的存储服务器。注册表可以是公共的也可以是私有的，并且有免费的公共注册表和商业注册表服务器，它们允许对图像进行细粒度的访问控制。镜像以唯一名称存储在注册表中。有权访问的任何人都可以通过运行<code>docker image push</code>上传图像，并通过运行<code>docker image pull</code>下载镜像</p>
<p>最受欢迎的注册机构是Docker托管的公共注册机构:</p>
<pre><code>+ **Docker Hub**是原始注册表，在Linux生态系统中的开源项目中已变得非常流行。
</code></pre>
<p>它已存储了60万张镜像，并托管了120亿张镜像。</p>
<pre><code>+ Docker Cloud是您存储自己构建的镜像的地方，您可以将镜像配置为公共或私有。它适用于内部产品，您可以在其中限制对镜像的访问。您可以将Docker Cloud设置为根据存储在GitHub中的Dockerfile自动构建当前映像，仅基于Linux的映像支持此功能，但Windows支持即将推出。

+ 可以在Docker Store获得商业软件，这些软件预先打包为Docker镜像。供应商越来越支持Docker作为自己的应用程序平台，您将在Docker Store上找到Microsoft，Oracle，HPE等产品的软件
</code></pre>
<h3 id="Docker-containers-docker容器"><a href="#Docker-containers-docker容器" class="headerlink" title="Docker containers(docker容器)"></a>Docker containers(docker容器)</h3><p>容器是从镜像创建的应用程序的实例。该镜像包含整个应用程序堆栈，并且还指定了启动应用程序的过程，因此Docker知道运行容器时的操作。您可以从同一镜像运行多个容器，并且可以以不同的方式运行容器</p>
<p>您可以通过<code>docker container run</code>启动应用程序，并指定镜像名称和配置选项。发行版内置在Docker平台中，因此，如果您在尝试运行容器的主机上没有该镜像的副本，则Docker将首先提取该镜像。然后，它开始运行，并且您的应用程序正在容器中运行</p>
<p>容器不需要固定分配CPU或内存，并且应用程序的进程可以根据需要使用主机的计算能力。您可以在适度的硬件上运行许多容器，除非所有应用程序尝试同时使用大量CPU，否则它们将很高兴地并发运行。您还可以使用资源限制启动容器，以限制它们可以访问多少CPU和内存。</p>
<p>Docker提供了容器运行时以及镜像打包和分发。在小型环境和开发中，您将在单个Docker主机上管理单个容器，该主机可以是笔记本电脑或测试服务器。当您进入生产阶段时，您将需要高可用性和扩展选项，而这是<strong>Docker swarm</strong>附带的。</p>
<h3 id="Docker-swarm-docker集群"><a href="#Docker-swarm-docker集群" class="headerlink" title="Docker swarm(docker集群)"></a>Docker swarm(docker集群)</h3><p>Docker可以在单个计算机上运行，​​也可以在全部运行Docker的计算机集群中作为一个节点运行。该集群称为swarm，您无需安装任何其他组件即可在群集模式下运行。您将Docker安装在一组机器上，首先运行<code>docker swarm init</code>来初始化swarm，在其他机器上运行<code>docker swarm join</code>以加入swarm。</p>
<p>在群集模式下，Docker使用完全相同的工件，因此您可以在20节点群集中的50个容器中运行您的应用程序，其功能与在笔记本电脑上的单个容器中运行时的功能相同。在群体上，您的应用程序性能更高，并且更能容忍失败，并且您可以对新版本执行自动滚动更新</p>
<p>群集中的节点对所有通信使用安全加密，并为每个节点使用受信任的证书。您也可以将应用程序密码作为加密数据存储在群集中，因此可以安全地保存数据库连接字符串和API密钥，并且群集仅将它们传递给需要它们的容器</p>
<h2 id="在windows上运行docker"><a href="#在windows上运行docker" class="headerlink" title="在windows上运行docker"></a>在windows上运行docker</h2><p>在生产中，理想情况下，您应该使用Windows Server 2016 Core（无UI的安装）。这样可以减少攻击面，并减少服务器需要的Windows更新数量。如果将所有应用程序移至Docker，则不需要安装任何其他Windows功能。您只需要将Docker EE作为Windows服务运行即可</p>
<p>在(<a href="https://dockr.ly/play-with-docker">https://dockr.ly/play-with-docker</a>) 上有一个很爽的在线Docker游乐场。Windows支持处于测试阶段，这是无需进行任何投资即可尝试Docker的好方法-您只需浏览站点并开始使用</p>
<h3 id="Docker-for-Windows"><a href="#Docker-for-Windows" class="headerlink" title="Docker for Windows"></a>Docker for Windows</h3><p>可从Docker Store获得适用于Windows的Docker-导航至(<a href="https://dockr.ly/docker-for-windows">https://dockr.ly/docker-for-windows</a>) .您可以在稳定通道和边缘通道之间进行选择。这两个渠道都为您提供Docker CE，但是Edge渠道遵循每月发布周期，您将获得实验性功能。<br>稳定频道遵循EE发布周期，每季度更新一次。</p>
</article><div class="post-copyright"><div class="post-copyright__author"><span class="post-copyright-meta">文章作者: </span><span class="post-copyright-info"><a href="https://zhangbo4881820.gitee.io/myblog">brad 随风起舞</a></span></div><div class="post-copyright__type"><span class="post-copyright-meta">文章链接: </span><span class="post-copyright-info"><a href="https://zhangbo4881820.gitee.io/myblog/posts/40991/">https://zhangbo4881820.gitee.io/myblog/posts/40991/</a></span></div><div class="post-copyright__notice"><span class="post-copyright-meta">版权声明: </span><span class="post-copyright-info">本博客所有文章除特别声明外，均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">CC BY-NC-SA 4.0</a> 许可协议。转载请注明来自 <a href="https://zhangbo4881820.gitee.io/myblog" target="_blank">静待花开</a>！</span></div></div><div class="tag_share"><div class="post-meta__tag-list"><a class="post-meta__tags" href="/myblog/tags/Docker/">Docker</a></div><div class="post_share"><div class="social-share" data-image="https://i.loli.net/2021/02/24/5O1day2nriDzjSu.png" data-sites="facebook,twitter,wechat,weibo,qq"></div><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/social-share.js/1.0.16/css/share.min.css" media="print" onload="this.media='all'"><script src="https://cdnjs.cloudflare.com/ajax/libs/social-share.js/1.0.16/js/social-share.min.js" defer></script></div></div><nav class="pagination-post" id="pagination"><div class="prev-post pull-left"><a href="/myblog/posts/19354/" title="SpringCloudPractice02"><div class="cover" style="background: var(--default-bg-color)"></div><div class="pagination-info"><div class="label">上一篇</div><div class="prev_info">SpringCloudPractice02</div></div></a></div><div class="next-post pull-right"><a href="/myblog/posts/43614/" title="RabbitMQ基本操作"><div class="cover" style="background: var(--default-bg-color)"></div><div class="pagination-info"><div class="label">下一篇</div><div class="next_info">RabbitMQ基本操作</div></div></a></div></nav></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="is-center"><div class="avatar-img"><img src="https://i.loli.net/2021/02/24/5O1day2nriDzjSu.png" onerror="this.onerror=null;this.src='/myblog/img/friend_404.gif'" alt="avatar"/></div><div class="author-info__name">brad 随风起舞</div><div class="author-info__description">有些事情需要一辈子的沉淀</div></div><div class="card-info-data site-data is-center"><a href="/myblog/archives/"><div class="headline">文章</div><div class="length-num">57</div></a><a href="/myblog/tags/"><div class="headline">标签</div><div class="length-num">20</div></a><a href="/myblog/categories/"><div class="headline">分类</div><div class="length-num">25</div></a></div><a id="card-info-btn" href="https://github.com/xxxxxx"><i class="fab fa-github"></i><span>Follow Me</span></a><div class="card-info-social-icons is-center"><a class="social-icon" href="https://github.com/xxxxx" target="_blank" title="Github"><i class="fab fa-github" style="color: #24292e;"></i></a><a class="social-icon" href="mailto:xxxxxx@gmail.com" target="_blank" title="Email"><i class="fas fa-envelope" style="color: #4a7dbe;"></i></a></div></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn fa-shake"></i><span>公告</span></div><div class="announcement_content">This is my Blog</div></div><div class="sticky_layout"><div class="card-widget" id="card-toc"><div class="item-headline"><i class="fas fa-stream"></i><span>目录</span><span class="toc-percentage"></span></div><div class="toc-content"><ol class="toc"><li class="toc-item toc-level-1"><a class="toc-link" href="#docker"><span class="toc-number">1.</span> <span class="toc-text">docker</span></a><ol class="toc-child"><li class="toc-item toc-level-2"><a class="toc-link" href="#windows10%E4%B8%8B%E7%9A%84%E5%AE%89%E8%A3%85"><span class="toc-number">1.1.</span> <span class="toc-text">windows10下的安装</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#docker-%E6%A6%82%E5%BF%B5"><span class="toc-number">1.2.</span> <span class="toc-text">docker 概念</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#Docker-images-docker%E9%95%9C%E5%83%8F"><span class="toc-number">1.2.1.</span> <span class="toc-text">Docker images(docker镜像)</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E9%95%9C%E5%83%8F%E6%B3%A8%E5%86%8C"><span class="toc-number">1.2.2.</span> <span class="toc-text">镜像注册</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Docker-containers-docker%E5%AE%B9%E5%99%A8"><span class="toc-number">1.2.3.</span> <span class="toc-text">Docker containers(docker容器)</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Docker-swarm-docker%E9%9B%86%E7%BE%A4"><span class="toc-number">1.2.4.</span> <span class="toc-text">Docker swarm(docker集群)</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E5%9C%A8windows%E4%B8%8A%E8%BF%90%E8%A1%8Cdocker"><span class="toc-number">1.3.</span> <span class="toc-text">在windows上运行docker</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#Docker-for-Windows"><span class="toc-number">1.3.1.</span> <span class="toc-text">Docker for Windows</span></a></li></ol></li></ol></li></ol></div></div><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/myblog/posts/15695/" title="jenkins（1）">jenkins（1）</a><time datetime="2023-09-14T02:17:44.000Z" title="发表于 2023-09-14 10:17:44">2023-09-14</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/myblog/posts/22012/" title="wsl的Ubuntu子系统（1）">wsl的Ubuntu子系统（1）</a><time datetime="2023-09-13T08:42:19.000Z" title="发表于 2023-09-13 16:42:19">2023-09-13</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/myblog/posts/30302/" title="effective-java-(接口优于抽象类)">effective-java-(接口优于抽象类)</a><time datetime="2023-09-12T08:12:48.000Z" title="发表于 2023-09-12 16:12:48">2023-09-12</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/myblog/posts/9473/" title="effective-java(创建和销毁对象--组合的形式优于继承)">effective-java(创建和销毁对象--组合的形式优于继承)</a><time datetime="2023-09-11T08:23:19.000Z" title="发表于 2023-09-11 16:23:19">2023-09-11</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/myblog/posts/16107/" title="Hello World">Hello World</a><time datetime="2023-09-07T09:44:01.910Z" title="发表于 2023-09-07 17:44:01">2023-09-07</time></div></div></div></div></div></div></main><footer id="footer"><div id="footer-wrap"><div class="copyright">&copy;2020 - 2023 By brad 随风起舞</div><div class="framework-info"><span>框架 </span><a href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="readmode" type="button" title="阅读模式"><i class="fas fa-book-open"></i></button><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button class="close" id="mobile-toc-button" type="button" title="目录"><i class="fas fa-list-ul"></i></button><button id="go-up" type="button" title="回到顶部"><span class="scroll-percent"></span><i class="fas fa-arrow-up"></i></button></div></div><div><script src="/myblog/js/utils.js"></script><script src="/myblog/js/main.js"></script><script src="/myblog/js/fancybox.umd.js"></script><div class="js-pjax"></div><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script><div id="local-search"><div class="search-dialog"><nav class="search-nav"><span class="search-dialog-title">搜索</span><span id="loading-status"></span><button class="search-close-button"><i class="fas fa-times"></i></button></nav><div class="is-center" id="loading-database"><i class="fas fa-spinner fa-pulse"></i><span>  数据库加载中</span></div><div class="search-wrap"><div id="local-search-input"><div class="local-search-box"><input class="local-search-box--input" placeholder="搜索文章" type="text"/></div></div><hr/><div class="no-result" id="local-search-results"></div><div id="local-search-stats-wrap"></div></div></div><div id="search-mask"></div><script src="/myblog/js/search/local-search.js"></script></div></div></body></html>